package com.ssmTest.service;

import com.ssmTest.model.JobAd;

import java.util.List;

public interface IJobAdService {
    //根据id查找
    public JobAd selectJobAd(int id);

    //插入信息
    public void insertJobAd(JobAd jobAd);

    //信息列表
    public List<JobAd> JobAdList(int toexamine);

    //审核失败原因
    boolean updateInformationReasion(int id, String fail_reasion);

    //更新
    boolean updateJobAd(JobAd jobAd);

    //关键字查询
    List<JobAd> selectJobAdByAndKey(int pagenum,String city,String key);

    List<JobAd> selectJobAdByNoKey(int pagenum,String city);

    void delJobAD(int id);
//    //关键字查询
//    List<JobAd> selectUserInformationByAndName(int pagenum, String city, String name);
//
//    List<JobAd> selectUserInformationByNoName(int pagenum, String city);


    List<JobAd> selectByPersionalId(int personal_id);
}
